package cn.flant.cmd;

public class HelpCommandHandler implements CommandHandler {

	@Override
	public void executeCommand(Request request, Response response) {
		response.write("i need sleep 5s");
		try {
			Thread.sleep(5000);
		} catch (InterruptedException e) {
		}
		response.write("what's your name?");
		Object name = request.read(10000);
		name = name == null ? "Xman" : name;
		response.write("hello world " + name);
	}

}
